package com.sun.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.sun.entity.EnhanceProduct;
import com.sun.listen.SysLogEvent;
import com.sun.mapper.OrderMapper;
import com.sun.service.OrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class OrderServiceImpl extends ServiceImpl<OrderMapper, EnhanceProduct> implements OrderService {

    @Autowired
    private OrderMapper orderMapper;

    @Override
    public void saveSysLog(SysLogEvent event) {
        orderMapper.insertSysLog(event);
    }
}
